]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/rspec-1.1.2/examples/pure/dynamic_spec.rb
added RSpec and RSpec on Rails
[rails.git] / vendor / gems / rspec-1.1.2 / examples / pure / dynamic_spec.rb
1 require File.dirname(__FILE__) + '/spec_helper'
2
3 describe "Some integers" do
4   (1..10).each do |n|
5     it "The root of #{n} square should be #{n}" do
6       Math.sqrt(n*n).should == n
7     end
8   end
9 end