spec/support/planets_context.rb in codependency-0.3.1 vs spec/support/planets_context.rb in codependency-1.0.0
- old
+ new
@@ -1,35 +1,35 @@
shared_context 'solar system', :files => :planets do
before do
- file 'body.rb', <<-EOS
+ file './body.rb', <<-EOS
class Body
end
EOS
- file 'earth.rb', <<-EOS
+ file './earth.rb', <<-EOS
# require planet
class Earth
end
EOS
- file 'mars.rb', <<-EOS
+ file './mars.rb', <<-EOS
# require planet
class Mars
end
EOS
- file 'phobos.rb', <<-EOS
+ file './phobos.rb', <<-EOS
# require body
# require mars
class Phobos
end
EOS
- file 'planet.rb', <<-EOS
+ file './planet.rb', <<-EOS
# require body
class Planet
end
EOS
\ No newline at end of file