Skip to content

Commit

Permalink
Fix mas list output for installed spec
Browse files Browse the repository at this point in the history
The output that was being asserted against wasn't correct and lead to it
failing the validation included in 32b0f47.

In order to assert against the actual output, the version number and ID
has been added.
  • Loading branch information
jacobbednarz committed Jul 19, 2018
1 parent 32b0f47 commit fa26194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/mac_app_store_dumper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
before do
Bundle::MacAppStoreDumper.reset!
allow(Bundle).to receive(:mas_installed?).and_return(true)
allow(Bundle::MacAppStoreDumper).to receive(:`).and_return("123 foo\n456 bar\n789 baz")
allow(Bundle::MacAppStoreDumper).to receive(:`).and_return("123 foo (1.0)\n456 bar (2.0)\n789 baz (3.0)")
end
subject { Bundle::MacAppStoreDumper }

Expand Down

0 comments on commit fa26194

Please sign in to comment.