Created
April 12, 2013 19:35
-
-
Save dariocravero/5374523 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
require File.expand_path('../../../../app/helpers/issue_helper', __FILE__) | |
describe "IssueHelper" do | |
subject do | |
Class.new do | |
include Padrino::Helpers::OutputHelpers | |
include Padrino::Helpers::TagHelpers | |
include Magazineshop::IssueHelper | |
end | |
end | |
describe "render_issues helper" do | |
describe "with empty issues collection" do | |
it "must render placeholder text" do | |
subject.new.render_issues.must_match /Keine Ausgaben vorhanden/ | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment