Sha256: 22fb93c5ecfe943830b7a35c0ca8ed9b59c669cbaf080fdc732f1a20e5dc1000
Contents?: true
Size: 426 Bytes
Versions: 1
Compression:
Stored size: 426 Bytes
Contents
require File.join(File.dirname(__FILE__), '/../../spec_helper') describe ViewModels::Helpers::View do class TestClass < ActionView::Base; end describe "including it" do it "should include all the view helpers" do in_the TestClass do include ViewModels::Helpers::View end TestClass.should include(ActionView::Helpers) TestClass.should include(ERB::Util) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
view_models-2.0.1 | spec/rails2/lib/helpers/view_spec.rb |