Skip to content

Commit

Permalink
RSpec/ExampleWording: Do not repeat 'it' when describing your tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
acmetech committed Mar 8, 2017
1 parent cef44ed commit 1143695
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/concepts/socializer/group/services/leave_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ module Services
let(:public_group) { create(:group, privacy: :public) }
let(:group) { public_group }

it "it destroys the membership" do
it "destroys the membership" do
expect(membership).to be_nil
end

it "it has 1 member" do
it "has 1 member" do
expect(public_group.members.size).to eq(1)
end
end
Expand Down

0 comments on commit 1143695

Please sign in to comment.