spec/spec_helper.rb in netsuite_rails-0.1.0 vs spec/spec_helper.rb in netsuite_rails-0.2.0
- old
+ new
@@ -1,9 +1,25 @@
+require 'rails/all'
+
+require 'shoulda/matchers'
+require 'rspec/rails'
+require 'faker'
+require 'pry'
+
+require 'netsuite_rails'
+
+Dir[File.join(File.dirname(__FILE__), "support/**/*.rb")].each {|f| require f }
+
+TestApplication::Application.initialize!
+NetSuiteRails::PollTimestamp.delete_all
+
RSpec.configure do |config|
+ config.color = true
+
config.expect_with :rspec do |expectations|
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
end
config.mock_with :rspec do |mocks|
mocks.verify_partial_doubles = true
end
-end
\ No newline at end of file
+end