Sha256: 6367fbe2941b2512c12bf4622d72aa6c13b4f4a8066a2384aaea3a68f45d832e

Contents?: true

Size: 350 Bytes

Versions: 1

Compression:

Stored size: 350 Bytes

Contents

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

describe ViewModels::View do
  
  it "should be initializable" do
    controller_class = stub :controller_class, :view_paths => ActionView::PathSet.new
    controller       = stub :controller, :class => controller_class
    
    ViewModels::View.new controller, Module.new
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
view_models-2.0.1 spec/rails2/lib/view_models/view_spec.rb