Adding a Mention model, test stubs
This commit is contained in:
parent
42eeecba3f
commit
71fe24096c
38 changed files with 355 additions and 47 deletions
|
@ -1,5 +1,47 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Account, type: :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
describe '#follow!' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#unfollow!' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#following?' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#local?' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#acct' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#subscribed?' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#keypair' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#subscription' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#object_type' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#title' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#content' do
|
||||
pending
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,5 +1,31 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Favourite, type: :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
describe '#verb' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#title' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#content' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#object_type' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#target' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#mentions' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#thread' do
|
||||
pending
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,5 +1,27 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Follow, type: :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
describe '#verb' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#title' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#content' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#object_type' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#target' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#mentions' do
|
||||
pending
|
||||
end
|
||||
end
|
||||
|
|
5
spec/models/mention_spec.rb
Normal file
5
spec/models/mention_spec.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Mention, type: :model do
|
||||
|
||||
end
|
|
@ -1,5 +1,35 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Status, type: :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
describe '#local?' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#reblog?' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#reply?' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#mentions' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#verb' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#object_type' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#title' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#target' do
|
||||
pending
|
||||
end
|
||||
end
|
||||
|
|
11
spec/models/stream_entry_spec.rb
Normal file
11
spec/models/stream_entry_spec.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe StreamEntry, type: :model do
|
||||
describe '#targeted?' do
|
||||
pending
|
||||
end
|
||||
|
||||
describe '#threaded?' do
|
||||
pending
|
||||
end
|
||||
end
|
|
@ -1,5 +0,0 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Stream, type: :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
end
|
|
@ -1,5 +1,5 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe User, type: :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue