Sha256: 9ade262d5b7d094be7c42ff578db16f2fd3682237cda02b5da5a111fe5c5fef4
Contents?: true
Size: 343 Bytes
Versions: 3
Compression:
Stored size: 343 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class MoviesControllerTest < ActionController::TestCase test 'reveals fakes' do movie = Movie.create if Rails::VERSION::MAJOR >= 5 assert_nothing_raised { get :show, params: {id: movie.id} } else assert_nothing_raised { get :show, id: movie.id } end end end
Version data entries
3 entries across 3 versions & 2 rubygems