Sha256: 9a009385689f9717080214607d65fe8e95dda996c581cd374242eb058221b595

Contents?: true

Size: 331 Bytes

Versions: 9

Compression:

Stored size: 331 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, genre: "Punkrock").send(:options)[:genre].must_equal "Punkrock" }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cells-4.0.5 test/cell_test.rb
cells-4.0.4 test/cell_test.rb
cells-4.0.3 test/cell_test.rb
cells-4.0.2 test/cell_test.rb
cells-4.0.1 test/cell_test.rb
cells-4.0.0 test/cell_test.rb
cells-4.0.0.rc1 test/cell_test.rb
cells-4.0.0.beta6 test/cell_test.rb
cells-4.0.0.beta5 test/cell_test.rb