Sha256: 76bcc78ea85d8327554fb9a5c55264cce383a9f84da78ba784b72d9afb57ace5
Contents?: true
Size: 350 Bytes
Versions: 1
Compression:
Stored size: 350 Bytes
Contents
require 'test_helper' class MusiciansController < ApplicationController end class UrlHelperTest < MiniTest::Spec controller MusiciansController let (:song_cell) { SongCell.new(nil, controller: controller) } class SongCell < Cell::ViewModel end # URL helpers work in cell instance. it { song_cell.songs_path.must_equal "/songs" } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cells-4.0.0.beta5 | test/url_helper_test.rb |