Skip to content

Commit afb8e93

Browse files
cltweediedmgarland
authored andcommitted
Use match_array in action_spec
1 parent c990db6 commit afb8e93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/bitbucket_rest_api/api/actions_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
context 'when class' do
77
it "lists all available actions for an api" do
8-
expect(api.actions).to eq([:actions, :all, :create, :delete, :edit, :list])
8+
expect(api.actions).to match_array([:actions, :all, :create, :delete, :edit, :list])
99
end
1010
end
1111

1212
context 'when instance' do
1313
it "lists all available actions for an api" do
14-
expect(api.new.actions).to eq([:actions, :all, :create, :delete, :edit, :list])
14+
expect(api.new.actions).to match_array([:actions, :all, :create, :delete, :edit, :list])
1515
end
1616
end
1717
end

0 commit comments

Comments
 (0)