Skip to content

Commit

Permalink
Platform::List#merge: Fixed spec
Browse files Browse the repository at this point in the history
[Closes #856]
  • Loading branch information
Zapotek committed Mar 19, 2017
1 parent dd35be6 commit 87c4b11
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/arachni/platform/list_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@
context 'with valid platforms' do
it 'returns a copy of self including the given platforms' do
platforms << :unix
platforms.merge( [:php, :unix] ).to_a.sort == [:unix, :php].sort
expect(platforms.to_a).to eq([:unix])
expect(platforms.merge( [:php, :unix] ).to_a.sort).to eq([:unix, :php].sort)
end
end
context 'with invalid platforms' do
Expand Down

0 comments on commit 87c4b11

Please sign in to comment.