Use @session to remove duplication from DSL specs. #913

Merged
merged 1 commit into from Dec 26, 2012

Conversation

Projects
None yet
2 participants
Contributor

randycoulman commented Dec 18, 2012

In spec/dsl_spec.rb, there was a before clause defining @session, but it wasn't being used in any of the specs in that context. Instead, each spec creates its own version of it. This removes the duplication by making use of the already-existing @session variable.

Collaborator

joliss commented Dec 26, 2012

Nice, thanks!

@joliss joliss added a commit that referenced this pull request Dec 26, 2012

@joliss joliss Merge pull request #913 from randycoulman/dsl-spec-cleanup
Use @session to remove duplication from DSL specs.
4be50fa

@joliss joliss merged commit 4be50fa into teamcapybara:master Dec 26, 2012

1 check failed

default The Travis build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment