Some basic tests for user controller index

This commit is contained in:
Gopesh Tulsyan 2014-05-12 17:53:11 +05:30
parent 4955481f14
commit c97affca35
8 changed files with 31 additions and 38 deletions

View file

@ -1,5 +1,4 @@
RSpec.configure do |config|
config.before(:suite) do
DatabaseCleaner.clean_with(:truncation)
end
@ -19,5 +18,4 @@ RSpec.configure do |config|
config.after(:each) do
DatabaseCleaner.clean
end
end

View file

@ -1,7 +1,5 @@
RSpec.configure do |config|
config.before(:suite) do
FactoryGirl.lint
end
end

View file

@ -1,7 +1,5 @@
RSpec.configure do |config|
config.before(:suite) do
config.before(:suite) do
load "#{Rails.root}/db/seeds.rb"
end
end

View file

@ -1,5 +1,4 @@
module SigninMacros
module SignInMacros
def sign_in(user)
visit new_user_session_path
fill_in 'user_email', with:'user.email'