Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
111 lines (90 sloc) 8.23 KB
Starting Spork for RSpec
Using RSpec
Preloading Rails environment
Loading Spork.prefork block...
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSolr::Connection instead. (called from <top (required)> at /Users/adeponte/WebApps/realpractice/rpp_web_app/config/environment.rb:5)
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from <top (required)> at /Users/adeponte/WebApps/realpractice/rpp_web_app/config/environment.rb:5)
/Users/adeponte/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/actionpack-3.2.1/lib/action_dispatch/http/mime_type.rb:101: warning: already initialized constant PDF
/Users/adeponte/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `block in require': iconv will be deprecated in the future, use String#encode instead.
Spork is ready and listening on 8989!
Spork server for RSpec successfully started
Guard::RSpec is running, with RSpec 2!
Running: spec/lib/sms_transport_spec.rb
Running tests with args ["--color", "--failure-exit-code", "2", "--format", "progress", "--format", "Guard::RSpec::Formatter::NotificationRSpec", "--out", "/dev/null", "--require", "/Users/adeponte/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/guard-rspec-0.6.0/lib/guard/rspec/formatters/notification_rspec.rb", "spec/lib/sms_transport_spec.rb"]...
.....F...............
Pending:
NewContactMailer#notifier uses the partners lead_notification_sender setting as the from address
# Spork is causing issues with helpers included in mailers and their views, researching fixes
# ./spec/mailers/new_contact_mailer_spec.rb:5
Failures:
1) SmsTransport have an sms transport#send_sms_to_multiple_recipients' sends, the ?provided! sms.message to-each of the specified recipients
Failure/Error: sms_transport.should_receive(:send_sms).with('7144251174', 'some message')
(#<SmsTransport:0x007f94a4a4a840>).send_sms("7144251174", "some message")
expected: 1 time
received: 0 times
# ./spec/lib/sms_transport_spec.rb:36:in `block (4 levels) in <top (required)>'
# ./spec/lib/sms_transport_spec.rb:36:in `block (4 levels) in <top (required)>'
2) new_contact_mailer/notifier.html.erb if it is a form fill should not show the call length
Failure/Error: render.should_not have_content(@cm_contact.incoming_data[:call_length])
expect content "half a minute" not to return anything
# ./spec/views/new_contact_mailer/notifier.html.erb_spec:71:in `block (3 levels) in <top (required)>'
3) digest_mailer/task_digest with valid params when
Failure/Error: aoeuaoe uaoeu aoeuaoe uaoeu aoeuaoeuaouaoeuaoe
expected there to be content "Missing Email Address" in
# ./auoeueoa/aoeuaoeua/vaeou/aoeuaoeuaoeu/vaoeuaoeu:67:in `block foo'
Finished in 0.04118 seconds
21 examples, 1 failure
Failed examples:
rspec ./spec/lib/sms_transport_spec.rb:34 # SmsTransport have an sms transport#send_sms_to_multiple_recipients sends the-provided sm's message to each of the specified? recipients
rspec ./spec/lib/contact_notifier_spec.rb:61 # ContactNotfier#msg_options should set is_new_lead to false if is_new_lead => false is passed in options
rspec ./spec/lib/contact_notifier_spec.rb:61 # ContactNotfier#msg_options should set sent_auto_response_message to true if it is a new lead, and the contact was sent an autoresponse message
Running all specs
.................................
Finished in 0.04118 seconds
21 examples, 0 failure
Running: spec/models/mm_action_spec.rb
.................................
Finished in 0.47394 seconds
33 examples, 0 failures
Running: spec/helpers/application_helper_spec.rb
Done.
Running tests with args ["--color", "--failure-exit-code", "2", "--format", "progress", "--format", "Guard::RSpec::Formatter::NotificationRSpec", "--out", "/dev/null", "--require", "/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/guard-rspec-0.6.0/lib/guard/rspec/formatters/notification_rspec.rb", "spec/helpers/application_helper_spec.rb"]...
Exception encountered: #<NoMethodError: undefined method `t' for #<Class:0x007fdae2bff120>>
backtrace:
/Users/rcloak/WebApps/realpractice/rpp_web_app/spec/helpers/application_helper_spec.rb:99:in `block (2 levels) in <top (required)>'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:201:in `module_eval'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:201:in `subclass'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:187:in `describe'
/Users/rcloak/WebApps/realpractice/rpp_web_app/spec/helpers/application_helper_spec.rb:18:in `block in <top (required)>'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:201:in `module_eval'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:201:in `subclass'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/rspec-core-2.8.0/lib/rspec/core/example_group.rb:187:in `describe'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/rspec-core-2.8.0/lib/rspec/core/dsl.rb:18:in `describe'
/Users/rcloak/WebApps/realpractice/rpp_web_app/spec/helpers/application_helper_spec.rb:3:in `<top (required)>'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:245:in `load'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:245:in `block in load'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:245:in `load'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in `block in load_spec_files'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in `map'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in `load_spec_files'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:22:in `run'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/rspec-core-2.8.0/lib/rspec/monkey/spork/test_framework/rspec.rb:7:in `run_tests'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/spork-0.9.0/lib/spork/run_strategy/forking.rb:13:in `block in run'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/spork-0.9.0/lib/spork/forker.rb:21:in `block in initialize'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/spork-0.9.0/lib/spork/forker.rb:18:in `fork'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/spork-0.9.0/lib/spork/forker.rb:18:in `initialize'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/spork-0.9.0/lib/spork/run_strategy/forking.rb:9:in `new'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/spork-0.9.0/lib/spork/run_strategy/forking.rb:9:in `run'
/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/spork-0.9.0/lib/spork/server.rb:48:in `run'
/Users/rcloak/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/drb/drb.rb:1548:in `perform_without_block'
/Users/rcloak/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/drb/drb.rb:1508:in `perform'
/Users/rcloak/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/drb/drb.rb:1586:in `block (2 levels) in main_loop'
/Users/rcloak/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/drb/drb.rb:1582:in `loop'
/Users/rcloak/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/drb/drb.rb:1582:in `block in main_loop'
Running: spec/helpers/application_helper_spec.rb
Done.
Running tests with args ["--color", "--failure-exit-code", "2", "--format", "progress", "--format", "Guard::RSpec::Formatter::NotificationRSpec", "--out", "/dev/null", "--require", "/Users/rcloak/.rvm/gems/ruby-1.9.3-p125@rpp_web_app/gems/guard-rspec-0.6.0/lib/guard/rspec/formatters/notification_rspec.rb", "spec/helpers/application_helper_spec.rb"]...
.......
Finished in 0.11964 seconds
7 examples, 0 failures