cavalle / steak

DISCONTINUED - The delicious combination of RSpec and Capybara for Acceptance BDD
MIT License
763 stars 32 forks source link

[PATCH] Steak helpers can contaminate other specs #14

Closed wincent closed 14 years ago

wincent commented 14 years ago

Because they are included without restriction, the Steak helpers can be inappropriately included in other, non-acceptance specs.

Fix here:

http://github.com/wincent/steak/commits/scoped-include

Specifically, this commit:

http://github.com/wincent/steak/commit/867b1a4d4343553ea2fcb99b676960ea92f960f4

Cheers, Wincent

cavalle commented 14 years ago

Thanks for the patch, wincent. I close this issue since it's a duplicate of #12