Skip to content

Commit

Permalink
Fix old-style assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDaugherty committed Feb 26, 2020
1 parent a93e641 commit b47a3c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/better_errors_spec.rb
Expand Up @@ -41,7 +41,7 @@
[:atom].each do |editor|
it "uses atom:// scheme when set to #{editor.inspect}" do
subject.editor = editor
subject.editor[].should start_with "atom://"
expect(subject.editor[]).to start_with "atom://"
end
end

Expand Down Expand Up @@ -82,7 +82,7 @@
it "uses atom:// scheme when EDITOR=#{editor}" do
ENV["EDITOR"] = editor
subject.editor = subject.default_editor
subject.editor[].should start_with "atom://"
expect(subject.editor[]).to start_with "atom://"
end
end

Expand Down

0 comments on commit b47a3c8

Please sign in to comment.