Bumped VERSION to 0.2.0
Updated CHANGELOG Rails 4.0.0rc1 Improved and fixed spec helper
This commit is contained in:
@@ -21,8 +21,6 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
||||
require 'webmock/rspec'
|
||||
require 'capybara/rspec'
|
||||
|
||||
WebMock.disable_net_connect! allow: 'graph.facebook.com', allow_localhost: true
|
||||
|
||||
#Capybara.ignore_hidden_elements = false # testing hidden fields
|
||||
|
||||
RSpec.configure do |config|
|
||||
@@ -41,16 +39,4 @@ RSpec.configure do |config|
|
||||
# the seed, which is printed after each run.
|
||||
# --seed 1234
|
||||
config.order = 'random'
|
||||
|
||||
config.include Delorean
|
||||
|
||||
ActionMailer::Base.perform_deliveries = false
|
||||
ActionMailer::Base.raise_delivery_errors = false
|
||||
ActionMailer::Base.delivery_method = :test
|
||||
|
||||
config.before(:each) do
|
||||
back_to_the_present
|
||||
reset_email
|
||||
#load "#{Rails.root}/db/seeds.rb"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
RSpec.configure do |config|
|
||||
config.include Delorean
|
||||
|
||||
config.before(:each) do
|
||||
back_to_the_present
|
||||
end
|
||||
end
|
||||
@@ -10,4 +10,8 @@ end
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.include MailerMacros
|
||||
|
||||
config.before(:each) do
|
||||
reset_email
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user