-
-
Save carols10cents/1262342 to your computer and use it in GitHub Desktop.
test generator failing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Try this (minispec): | |
describe "not logged in" do | |
[:index, :new].each do |method| | |
it "should redirect to login on #{method}" do | |
get method | |
assert_redirect_to login_url | |
end | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, the
get
is failing now because it's not defined. Maybe there's something I should be requiring but I'm not.