Rename UserIntegrationHelpers as AcceptanceHelpers
This commit is contained in:
parent
737c6b03e4
commit
454f344259
@ -1,5 +1,5 @@
|
||||
feature 'Playlists CRUD' do
|
||||
include UserIntegrationHelpers
|
||||
include AcceptanceHelpers
|
||||
|
||||
background { sign_in }
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
feature 'Tracks CRUD' do
|
||||
include UserIntegrationHelpers
|
||||
include AcceptanceHelpers
|
||||
|
||||
background { sign_in }
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
feature 'Tracks player' do
|
||||
include UserIntegrationHelpers
|
||||
include AcceptanceHelpers
|
||||
|
||||
background { sign_in }
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
describe 'API cross origin request' do
|
||||
include UserIntegrationHelpers
|
||||
include AcceptanceHelpers
|
||||
|
||||
let(:user) { FactoryGirl.create(:user) }
|
||||
let(:origin) { 'http://origin.example/' }
|
||||
|
@ -1,5 +1,5 @@
|
||||
describe 'API playlists' do
|
||||
include UserIntegrationHelpers
|
||||
include AcceptanceHelpers
|
||||
|
||||
before { api_sign_in }
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
describe 'API tracks' do
|
||||
include UserIntegrationHelpers
|
||||
include AcceptanceHelpers
|
||||
|
||||
before { api_sign_in }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
module UserIntegrationHelpers
|
||||
module AcceptanceHelpers
|
||||
def sign_in
|
||||
user = FactoryGirl.create(:user)
|
||||
visit new_session_path
|
Loading…
x
Reference in New Issue
Block a user