Skip to content

Commit

Permalink
Minor edits to specs
Browse files Browse the repository at this point in the history
  • Loading branch information
bodrovis committed Dec 4, 2014
1 parent 594cfba commit a808934
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions spec/models/activity_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
RSpec.describe Activity do
describe "associations" do
it { should belong_to(:user) }
it { should belong_to(:channel) }
specify { should belong_to(:user) }
specify { should belong_to(:channel) }
end
end
4 changes: 2 additions & 2 deletions spec/models/attachment_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
RSpec.describe Attachment do
describe "associations" do
it { should belong_to(:channel) }
it { should belong_to(:user) }
specify { should belong_to(:channel) }
specify { should belong_to(:user) }
end

describe "#url" do
Expand Down
4 changes: 2 additions & 2 deletions spec/models/channel_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
RSpec.describe Channel do
describe "associations" do
it { should have_many(:activities) }
it { should have_many(:attachments) }
specify { should have_many(:activities) }
specify { should have_many(:attachments) }
end

describe "user_connect" do
Expand Down
4 changes: 2 additions & 2 deletions spec/models/user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

RSpec.describe User do
describe "associations" do
it { should have_many(:activities) }
specify { should have_many(:activities) }
end

describe "abilities" do
Expand Down Expand Up @@ -69,7 +69,7 @@

describe "external avatar" do
it "should have no avatar url on creation" do
subject { User.new() }
subject { User.new }
expect(subject.avatar_url).to be_nil
end

Expand Down

0 comments on commit a808934

Please sign in to comment.