Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update specs to modern style guide #20

Merged
merged 1 commit into from
Oct 18, 2015
Merged

Conversation

iancanderson
Copy link
Owner

  • Prefer double quotes
  • Remove many before(:all) blocks
  • Change from "should" syntax to imperative mood
  • Remove rspec-its dependency

end
end
end

describe "with 'a' as quantity and preposition 'of'" do
before(:all) { @ingreedy = Ingreedy.parse "a dash of ginger" }
it "parses correctly" do
result = Ingreedy.parse "a dash of ginger"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing whitespace detected.

- Prefer double quotes
- Remove many before(:all) blocks
- Change from "should" syntax to imperative mood
- Remove rspec-its dependency
@iancanderson iancanderson merged commit 20f2349 into master Oct 18, 2015
@iancanderson iancanderson deleted the modern-spec-style branch October 18, 2015 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants