Skip to content

Instantly share code, notes, and snippets.

@kyzh
Created December 13, 2013 16:29
Show Gist options
  • Save kyzh/7946911 to your computer and use it in GitHub Desktop.
Save kyzh/7946911 to your computer and use it in GitHub Desktop.
huginn - rspec failure
/usr/local/rvm/rubies/ruby-1.9.3-p484/bin/ruby -S rspec ./spec/controllers/agents_controller_spec.rb ./spec/controllers/events_controller_spec.rb ./spec/controllers/logs_controller_spec.rb ./spec/controllers/user_location_updates_controller_spec.rb ./spec/controllers/webhooks_controller_spec.rb ./spec/lib/inheritance_tracking_spec.rb ./spec/lib/utils_spec.rb ./spec/models/agent_log_spec.rb ./spec/models/agent_spec.rb ./spec/models/agents/adioso_agent_spec.rb ./spec/models/agents/digest_email_agent_spec.rb ./spec/models/agents/event_formatting_agent_spec.rb ./spec/models/agents/human_task_agent_spec.rb ./spec/models/agents/peak_detector_agent_spec.rb ./spec/models/agents/post_agent_spec.rb ./spec/models/agents/sentiment_agent_spec.rb ./spec/models/agents/translation_agent_spec.rb ./spec/models/agents/trigger_agent_spec.rb ./spec/models/agents/twilio_agent_spec.rb ./spec/models/agents/twitter_publish_agent_spec.rb ./spec/models/agents/twitter_stream_agent_spec.rb ./spec/models/agents/twitter_user_agent_spec.rb ./spec/models/agents/website_agent_spec.rb ./spec/models/agents/weibo_publish_agent_spec.rb ./spec/models/agents/weibo_user_agent_spec.rb ./spec/models/event_spec.rb ./spec/models/users_spec.rb
/usr/local/rvm/gems/ruby-1.9.3-p484@global/gems/bundler-1.3.5/lib/bundler.rb:284: warning: Insecure world writable dir /usr/local/rvm/rubies in PATH, mode 042777
DEPRECATION: RSpec::Core::Configuration#backtrace_clean_patterns is deprecated. Use RSpec::Core::Configuration#backtrace_exclusion_patterns instead. Called from /usr/local/rvm/gems/ruby-1.9.3-p484@huginn/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'.
.....F.......................................................................................................................................................................................
Failures:
1) AgentLog#log_length defaults to 100
Failure/Error: AgentLog.log_length.should == 100
expected: 100
got: 200 (using ==)
# ./spec/models/agent_log_spec.rb:74:in `block (3 levels) in <top (required)>'
Finished in 12.59 seconds
189 examples, 1 failure
Failed examples:
rspec ./spec/models/agent_log_spec.rb:73 # AgentLog#log_length defaults to 100
Randomized with seed 15229
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment