features/configuration/search_modules.feature in bogus-0.1.0 vs features/configuration/search_modules.feature in bogus-0.1.1
- old
+ new
@@ -7,20 +7,25 @@
"""ruby
class Foo
def foo
end
end
+ """
+ Given a file named "baz.rb" with:
+ """ruby
module Bar
class Baz
def baz
end
end
end
"""
Then spec file with following content should pass:
"""ruby
+ require_relative 'foo'
+ require_relative 'baz'
Bogus.configure do |c|
c.search_modules << Bar
end