spec/lib/bubble-wrap/requirement_spec.rb in bubble-wrap-1.7.1 vs spec/lib/bubble-wrap/requirement_spec.rb in bubble-wrap-1.8.0
- old
+ new
@@ -36,12 +36,12 @@
@subject.file('motion/core.rb').file_dependencies.should.not.include 'motion/core.rb'
end
it 'can depend on another file' do
@subject.scan(@root_path, 'motion/*.rb') do
- file('motion/http.rb').depends_on('motion/core.rb')
+ file('motion/motion.rb').depends_on('motion/constants.rb')
end
- @subject.file('motion/http.rb').file_dependencies.should.include @subject.file('motion/core.rb')
+ @subject.file('motion/motion.rb').file_dependencies.should.include @subject.file('motion/constants.rb')
end
it 'can use a framework' do
@subject.scan(@root_path, 'motion/core.rb') do
file('motion/core.rb').uses_framework('FakeFramework')