Sha256: 95c8ee8e29cdb5bafa7c4032f4059443c554ee695760c864d1c24274db5dcab1

Contents?: true

Size: 201 Bytes

Versions: 65

Compression:

Stored size: 201 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

describe "Some integers" do
  (1..10).each do |n|
    it "The root of #{n} square should be #{n}" do
      Math.sqrt(n*n).should == n
    end
  end
end

Version data entries

65 entries across 65 versions & 11 rubygems

Version Path
dchelimsky-rspec-1.1.10 examples/pure/dynamic_spec.rb
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec/examples/pure/dynamic_spec.rb
jnstq-acts_as_sms-0.1.1 test/vendor/plugins/rspec/examples/pure/dynamic_spec.rb
jnstq-acts_as_sms-0.1.3 test/vendor/plugins/rspec/examples/pure/dynamic_spec.rb
jnstq-acts_as_sms-0.1.4 test/vendor/plugins/rspec/examples/pure/dynamic_spec.rb
merb-core-1.1.3 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/dynamic_spec.rb
merb-core-1.1.2 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/dynamic_spec.rb
merb-core-1.1.1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/dynamic_spec.rb
merb-core-1.1.0 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/dynamic_spec.rb
merb-core-1.1.0.rc1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/dynamic_spec.rb
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/examples/pure/dynamic_spec.rb
deckshuffler-0.0.2 vendor/plugins/rspec/examples/dynamic_spec.rb
has_finder-0.1.2 spec/rails/vendor/plugins/rspec/examples/dynamic_spec.rb
has_finder-0.1.1 spec/rails/vendor/plugins/rspec/examples/dynamic_spec.rb
has_finder-0.1.3 spec/rails/vendor/plugins/rspec/examples/dynamic_spec.rb
picolena-0.0.99 app_generators/picolena/templates/vendor/plugins/rspec/examples/pure/dynamic_spec.rb
picolena-0.1.1 rails_plugins/rspec/examples/pure/dynamic_spec.rb
picolena-0.1.0 rails_plugins/rspec/examples/pure/dynamic_spec.rb
picolena-0.1.2 rails_plugins/rspec/examples/pure/dynamic_spec.rb
picolena-0.1.3 rails_plugins/rspec/examples/pure/dynamic_spec.rb