Sha256: 09142350c5e512c46ebc13a478337fe9688b7d2bc33f79b732ca17f68234317d

Contents?: true

Size: 333 Bytes

Versions: 1

Compression:

Stored size: 333 Bytes

Contents

require 'test_helper'

class MusiciansController < ApplicationController
end

class UrlHelperTest < MiniTest::Spec
  controller MusiciansController

  let (:song_cell) { SongCell.new(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.beta4 test/url_helper_test.rb