Skip to content

Instantly share code, notes, and snippets.

@tomelm
Created March 22, 2013 17:27
Show Gist options
  • Save tomelm/5223149 to your computer and use it in GitHub Desktop.
Save tomelm/5223149 to your computer and use it in GitHub Desktop.
text_razor|master⚡ ⇒ rspec spec/text_razor.rb
FF
Failures:
1) TextRazor sets and creates entities
Failure/Error: @textrazor = TextRazor.new(api_key: 'abc123', text: 'This is a test sentence', extractors: 'entities')
ArgumentError:
wrong number of arguments(1 for 0)
# ./spec/text_razor.rb:5:in `initialize'
# ./spec/text_razor.rb:5:in `new'
# ./spec/text_razor.rb:5:in `block (2 levels) in <top (required)>'
2) TextRazor sets and creates entities
Failure/Error: @textrazor = TextRazor.new(api_key: 'abc123', text: 'This is a test sentence', extractors: 'entities')
ArgumentError:
wrong number of arguments(1 for 0)
# ./spec/text_razor.rb:5:in `initialize'
# ./spec/text_razor.rb:5:in `new'
# ./spec/text_razor.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.0005 seconds
2 examples, 2 failures
Failed examples:
rspec ./spec/text_razor.rb:8 # TextRazor sets and creates entities
rspec ./spec/text_razor.rb:8 # TextRazor sets and creates entities
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment