Module: Merimee::Rspec::ViewCheckerHelper

Defined in:
lib/merimee/rspec/view_checker_helper.rb

Defined Under Namespace

Classes: HaveACorrectSpellingMatcher

Instance Method Summary collapse

Instance Method Details

#it_should_have_a_correct_spelling(&block) ⇒ Object


34
35
36
37
38
39
# File 'lib/merimee/rspec/view_checker_helper.rb', line 34

def it_should_have_a_correct_spelling(&block)
  it "should have a correct spelling" do
    render
    rendered.should HaveACorrectSpellingMatcher.new(&block)
  end
end