Created
June 5, 2012 04:10
-
-
Save myronmarston/2872580 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source :rubygems | |
gem "rspec", :git => "git://github.com/rspec/rspec.git" | |
gem "rspec-core", :git => "git://github.com/rspec/rspec-core.git" | |
gem "rspec-expectations", :git => "git://github.com/rspec/rspec-expectations.git" | |
gem "rspec-mocks", :git => "git://github.com/rspec/rspec-mocks.git" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GIT | |
remote: git://github.com/rspec/rspec-core.git | |
revision: 4feeec6db1f532eb685426a6d07acf3cd615409f | |
specs: | |
rspec-core (2.10.0) | |
GIT | |
remote: git://github.com/rspec/rspec-expectations.git | |
revision: 089aca415a2cd412ac019fdeccfacaf9132c702c | |
specs: | |
rspec-expectations (2.10.0) | |
diff-lcs (~> 1.1.3) | |
GIT | |
remote: git://github.com/rspec/rspec-mocks.git | |
revision: 49ce4966ca99574ac28b6e8ed7ec02ac055db901 | |
specs: | |
rspec-mocks (2.10.1) | |
GIT | |
remote: git://github.com/rspec/rspec.git | |
revision: b13299559113d5402a0675c2e1286c80e99b2879 | |
specs: | |
rspec (2.10.0) | |
rspec-core (~> 2.10.0) | |
rspec-expectations (~> 2.10.0) | |
rspec-mocks (~> 2.10.0) | |
GEM | |
remote: http://rubygems.org/ | |
specs: | |
diff-lcs (1.1.3) | |
PLATFORMS | |
java | |
ruby | |
DEPENDENCIES | |
rspec! | |
rspec-core! | |
rspec-expectations! | |
rspec-mocks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source :rubygems | |
gem 'rspec', '~> 2.10.0' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GEM | |
remote: http://rubygems.org/ | |
specs: | |
diff-lcs (1.1.3) | |
rspec (2.10.0) | |
rspec-core (~> 2.10.0) | |
rspec-expectations (~> 2.10.0) | |
rspec-mocks (~> 2.10.0) | |
rspec-core (2.10.1) | |
rspec-expectations (2.10.0) | |
diff-lcs (~> 1.1.3) | |
rspec-mocks (2.10.1) | |
PLATFORMS | |
java | |
ruby | |
DEPENDENCIES | |
rspec (~> 2.10.0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source :rubygems | |
gem 'rspec', '~> 2.8.0' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GEM | |
remote: http://rubygems.org/ | |
specs: | |
diff-lcs (1.1.3) | |
rspec (2.8.0) | |
rspec-core (~> 2.8.0) | |
rspec-expectations (~> 2.8.0) | |
rspec-mocks (~> 2.8.0) | |
rspec-core (2.8.0) | |
rspec-expectations (2.8.0) | |
diff-lcs (~> 1.1.2) | |
rspec-mocks (2.8.0) | |
PLATFORMS | |
ruby | |
DEPENDENCIES | |
rspec (~> 2.8.0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source :rubygems | |
gem 'rspec', '~> 2.9.0' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GEM | |
remote: http://rubygems.org/ | |
specs: | |
diff-lcs (1.1.3) | |
rspec (2.9.0) | |
rspec-core (~> 2.9.0) | |
rspec-expectations (~> 2.9.0) | |
rspec-mocks (~> 2.9.0) | |
rspec-core (2.9.0) | |
rspec-expectations (2.9.1) | |
diff-lcs (~> 1.1.3) | |
rspec-mocks (2.9.0) | |
PLATFORMS | |
ruby | |
DEPENDENCIES | |
rspec (~> 2.9.0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rspec/expectations' | |
require 'delegate' | |
describe 'should equal' do | |
it "should not falsely raise an error when the two things are equal" do | |
puts "Running RSpec: #{RSpec::Expectations::Version::STRING}" | |
c = Class.new(DelegateClass(Array)) | |
o = c.new([1, 2]) | |
o.should equal(o) | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment