Bumped VERSION to 0.2.0

Updated CHANGELOG
Rails 4.0.0rc1
Improved and fixed spec helper
This commit is contained in:
Cesidio Di Landa
2013-05-02 11:41:41 +02:00
parent 11ac794875
commit bc85296079
15 changed files with 82 additions and 80 deletions
-14
View File
@@ -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
+7
View File
@@ -0,0 +1,7 @@
RSpec.configure do |config|
config.include Delorean
config.before(:each) do
back_to_the_present
end
end
+4
View File
@@ -10,4 +10,8 @@ end
RSpec.configure do |config|
config.include MailerMacros
config.before(:each) do
reset_email
end
end