lib/daddy/cucumber/diff.rb in daddy-0.0.11 vs lib/daddy/cucumber/diff.rb in daddy-0.0.12
- old
+ new
@@ -12,9 +12,14 @@
puts local_file
puts "<pre>#{diff}</pre>"
end
+ def show(file)
+ puts file
+ puts "<pre>#{File.read(file).gsub(/[<>]/, '<' => '<', '>' => '>')}</pre>"
+ end
+
end
end
end
World(Daddy::Cucumber::Diff)