Fixing atom feeds for accounts, adding tests that would catch such bugs in future
This commit is contained in:
parent
499beb4484
commit
87576e1ab1
9 changed files with 41 additions and 7 deletions
|
@ -1,6 +1,8 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Api::AccountsController, type: :controller do
|
||||
render_views
|
||||
|
||||
let(:user) { Fabricate(:user, account: Fabricate(:account, username: 'alice')) }
|
||||
let(:token) { double acceptable?: true, resource_owner_id: user.id }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue