Sha256: 9e7eda0a82e83e19c5acedc0dbdbeaebd8ef41dca6d6487e01f44cb298c2d6e9

Contents?: true

Size: 430 Bytes

Versions: 6

Compression:

Stored size: 430 Bytes

Contents

require File.join(File.dirname(__FILE__), '../../spec_helper')

require 'helpers/view'

describe ViewModels::Helpers::View do
  
  class TestClass; 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

6 entries across 6 versions & 1 rubygems

Version Path
view_models-1.5.7 spec/lib/helpers/view_spec.rb
view_models-1.5.6 spec/lib/helpers/view_spec.rb
view_models-1.5.5 spec/lib/helpers/view_spec.rb
view_models-1.5.4 spec/lib/helpers/view_spec.rb
view_models-1.5.3 spec/lib/helpers/view_spec.rb
view_models-1.5.2 spec/lib/helpers/view_spec.rb