Merge remote-tracking branch 'origin/master' into merge-upstream

This commit is contained in:
David Yip
2017-11-17 17:40:00 -06:00
67 changed files with 851 additions and 218 deletions

View File

@@ -1,5 +1,5 @@
require 'rails_helper'
RSpec.describe AccountModerationNote, type: :model do
pending "add some examples to (or delete) #{__FILE__}"
end

View File

@@ -1,9 +1,9 @@
require 'rails_helper'
RSpec.describe Feed, type: :model do
RSpec.describe HomeFeed, type: :model do
let(:account) { Fabricate(:account) }
subject { described_class.new(:home, account) }
subject { described_class.new(account) }
describe '#get' do
before do

View File

@@ -0,0 +1,5 @@
require 'rails_helper'
RSpec.describe ListAccount, type: :model do
end

5
spec/models/list_spec.rb Normal file
View File

@@ -0,0 +1,5 @@
require 'rails_helper'
RSpec.describe List, type: :model do
end