Sha256: 0d8b73cd24e2b4072cfd8c4854c3ae44fd1081ff8e1683f697087124ed2f5fef

Contents?: true

Size: 336 Bytes

Versions: 5

Compression:

Stored size: 336 Bytes

Contents

require 'test_helper'

class CellTest < MiniTest::Spec
  class SongCell < Cell::ViewModel
    def show
    end
  end
  # ::rails_version
  it { Cell.rails_version.must_equal Gem::Version.new(ActionPack::VERSION::STRING) }

  # #options
  it { SongCell.new(nil, nil, genre: "Punkrock").send(:options)[:genre].must_equal "Punkrock" }
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
cells-4.0.0.beta4 test/cell_test.rb
cells-4.0.0.beta3 test/cell_test.rb
cells-4.0.0.beta2 test/cell_test.rb
cells-4.0.0.beta1 test/cell_test.rb
cells-jamie-4.0.0.alpha1 test/vm/cell_test.rb