spec/api_spec.rb in method_log-0.0.3 vs spec/api_spec.rb in method_log-0.0.4
- old
+ new
@@ -60,11 +60,11 @@
expect(method_commits).to eq([method_commit_2, method_commit_1])
method_commit, method_diff = api.diffs('Foo#bar').first
expect(method_diff.to_s.strip).to eq(%{
def bar
-- # implementation 2
-+ # implementation 1
+- # implementation 1
++ # implementation 2
end
}.strip)
end
end