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