Skip to content

Instantly share code, notes, and snippets.

@jaredmoody
Created October 12, 2014 05:26
Show Gist options
  • Save jaredmoody/9d581c80f02f449924d9 to your computer and use it in GitHub Desktop.
Save jaredmoody/9d581c80f02f449924d9 to your computer and use it in GitHub Desktop.
> bundle exec rspec
FFFFFFFFFFFF
Failures:
1) SemanticBreadcrumbsHelper semantic_breadcrumbs should return breadcrumbs
Failure/Error: controller.instance_variable_set("@breadcrumbs", [{name: 'Home', url:'/'}])
NameError:
undefined local variable or method `controller' for #<RSpec::ExampleGroups::SemanticBreadcrumbsHelper::SemanticBreadcrumbs:0x007fd749fd46e8>
# ./spec/helpers/semantic_breadcrumbs_helper_spec.rb:7:in `block (3 levels) in <top (required)>'
2) SemanticBreadcrumbsHelper semantic_breadcrumbs should return breadcrumbs with multi params
Failure/Error: controller.instance_variable_set("@breadcrumbs", [{name: 'Home', url:'/'}, {name: 'Posts', url: '/posts'}])
NameError:
undefined local variable or method `controller' for #<RSpec::ExampleGroups::SemanticBreadcrumbsHelper::SemanticBreadcrumbs:0x007fd749fcf760>
# ./spec/helpers/semantic_breadcrumbs_helper_spec.rb:16:in `block (3 levels) in <top (required)>'
3) SemanticBreadcrumbsHelper semantic_breadcrumbs should return breadcrumbs with divider
Failure/Error: controller.instance_variable_set("@breadcrumbs", [{name: 'Home', url:'/'}, {name: 'Posts', url: '/posts'}])
NameError:
undefined local variable or method `controller' for #<RSpec::ExampleGroups::SemanticBreadcrumbsHelper::SemanticBreadcrumbs:0x007fd749fce770>
# ./spec/helpers/semantic_breadcrumbs_helper_spec.rb:27:in `block (3 levels) in <top (required)>'
4) SemanticFlashHelper semantic_flash should return warning flash message
Failure/Error: expect(semantic_flash).to eq '<div class="ui warning message"><i class="close icon"></i>Update Warning!</div>'
NameError:
undefined local variable or method `semantic_flash' for #<RSpec::ExampleGroups::SemanticFlashHelper::SemanticFlash:0x007fd749fcc880>
# ./spec/helpers/semantic_flash_helper_spec.rb:8:in `block (3 levels) in <top (required)>'
5) SemanticFlashHelper semantic_flash should return alert-success message when using notice message
Failure/Error: expect(semantic_flash).to eq '<div class="ui success message"><i class="close icon"></i>Update Success!</div>'
NameError:
undefined local variable or method `semantic_flash' for #<RSpec::ExampleGroups::SemanticFlashHelper::SemanticFlash:0x007fd749fc6818>
# ./spec/helpers/semantic_flash_helper_spec.rb:13:in `block (3 levels) in <top (required)>'
6) SemanticFlashHelper semantic_flash should return alert-error message when using notice error
Failure/Error: expect(semantic_flash).to eq '<div class="ui error message"><i class="close icon"></i>Update Failed!</div>'
NameError:
undefined local variable or method `semantic_flash' for #<RSpec::ExampleGroups::SemanticFlashHelper::SemanticFlash:0x007fd749fc4b58>
# ./spec/helpers/semantic_flash_helper_spec.rb:18:in `block (3 levels) in <top (required)>'
7) SemanticFlashHelper semantic_flash should return no message when using an undefined message
Failure/Error: semantic_flash.should == ""
NameError:
undefined local variable or method `semantic_flash' for #<RSpec::ExampleGroups::SemanticFlashHelper::SemanticFlash:0x007fd749fb6fd0>
# ./spec/helpers/semantic_flash_helper_spec.rb:24:in `block (3 levels) in <top (required)>'
8) SemanticFlashHelper semantic_flash should return no message when the message is blank
Failure/Error: semantic_flash.should == ""
NameError:
undefined local variable or method `semantic_flash' for #<RSpec::ExampleGroups::SemanticFlashHelper::SemanticFlash:0x007fd749fb52c0>
# ./spec/helpers/semantic_flash_helper_spec.rb:29:in `block (3 levels) in <top (required)>'
9) SemanticIconHelper render icon with name
Failure/Error: expect(semantic_icon('add')).to eq '<i class="add icon"></i>'
NoMethodError:
undefined method `semantic_icon' for #<RSpec::ExampleGroups::SemanticIconHelper:0x007fd749faec18>
# ./spec/helpers/semantic_icon_helper_spec.rb:5:in `block (2 levels) in <top (required)>'
10) SemanticIconHelper render icon with names with string
Failure/Error: expect(semantic_icon('add sign')).to eq '<i class="add sign icon"></i>'
NoMethodError:
undefined method `semantic_icon' for #<RSpec::ExampleGroups::SemanticIconHelper:0x007fd749fadbd8>
# ./spec/helpers/semantic_icon_helper_spec.rb:9:in `block (2 levels) in <top (required)>'
11) SemanticIconHelper render icon with names with params
Failure/Error: expect(semantic_icon('add', 'sign')).to eq '<i class="add sign icon"></i>'
NoMethodError:
undefined method `semantic_icon' for #<RSpec::ExampleGroups::SemanticIconHelper:0x007fd749facc38>
# ./spec/helpers/semantic_icon_helper_spec.rb:13:in `block (2 levels) in <top (required)>'
12) SemanticIconHelper render icon with names with sym params
Failure/Error: expect(semantic_icon(:add, :sign)).to eq '<i class="add sign icon"></i>'
NoMethodError:
undefined method `semantic_icon' for #<RSpec::ExampleGroups::SemanticIconHelper:0x007fd749fabce8>
# ./spec/helpers/semantic_icon_helper_spec.rb:17:in `block (2 levels) in <top (required)>'
Deprecation Warnings:
Requiring `rspec/autorun` when running RSpec via the `rspec` command is deprecated. Called from /Users/jaredmoody/.gem/ruby/2.1.2/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `require'.
Using `should_receive` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /Users/jaredmoody/Sites/semantic-ui-sass/spec/helpers/semantic_flash_helper_spec.rb:7:in `block (3 levels) in <top (required)>'.
If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.
2 deprecation warnings total
Finished in 0.00633 seconds (files took 1.55 seconds to load)
12 examples, 12 failures
Failed examples:
rspec ./spec/helpers/semantic_breadcrumbs_helper_spec.rb:6 # SemanticBreadcrumbsHelper semantic_breadcrumbs should return breadcrumbs
rspec ./spec/helpers/semantic_breadcrumbs_helper_spec.rb:15 # SemanticBreadcrumbsHelper semantic_breadcrumbs should return breadcrumbs with multi params
rspec ./spec/helpers/semantic_breadcrumbs_helper_spec.rb:26 # SemanticBreadcrumbsHelper semantic_breadcrumbs should return breadcrumbs with divider
rspec ./spec/helpers/semantic_flash_helper_spec.rb:6 # SemanticFlashHelper semantic_flash should return warning flash message
rspec ./spec/helpers/semantic_flash_helper_spec.rb:11 # SemanticFlashHelper semantic_flash should return alert-success message when using notice message
rspec ./spec/helpers/semantic_flash_helper_spec.rb:16 # SemanticFlashHelper semantic_flash should return alert-error message when using notice error
rspec ./spec/helpers/semantic_flash_helper_spec.rb:22 # SemanticFlashHelper semantic_flash should return no message when using an undefined message
rspec ./spec/helpers/semantic_flash_helper_spec.rb:27 # SemanticFlashHelper semantic_flash should return no message when the message is blank
rspec ./spec/helpers/semantic_icon_helper_spec.rb:4 # SemanticIconHelper render icon with name
rspec ./spec/helpers/semantic_icon_helper_spec.rb:8 # SemanticIconHelper render icon with names with string
rspec ./spec/helpers/semantic_icon_helper_spec.rb:12 # SemanticIconHelper render icon with names with params
rspec ./spec/helpers/semantic_icon_helper_spec.rb:16 # SemanticIconHelper render icon with names with sym params
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment