Permalink
Browse files

Remove redundant spec

  • Loading branch information...
soulcutter committed Apr 17, 2013
1 parent f0df423 commit f683c08051b29963deb4e2f3eeb06ffef413b839
Showing with 1 addition and 8 deletions.
  1. +1 −8 spec/rspec/core/configuration_spec.rb
@@ -1136,14 +1136,7 @@ def metadata_hash(*args)
it "stores require paths" do
config.should_receive(:require).with("a/path")
config.requires = ["a/path"]
- expect(config.requires).to eq(['a/path'])
- end
- end
- describe '#requires' do
- it "requires paths" do
- config.should_receive(:require).with("a/path")
- config.requires = ["a/path"]
- expect(config.requires).to eq ["a/path"]
+ expect(config.requires).to eq ['a/path']
end
end

0 comments on commit f683c08

Please sign in to comment.