Sha256: d92d92b10139d7f84df25f9dbc97dca59b8847c108fd7472e8dd1e8895a61634
Contents?: true
Size: 405 Bytes
Versions: 3
Compression:
Stored size: 405 Bytes
Contents
require "#{File.dirname(__FILE__)}/javascript_spec_helper" <% view = actions.first || file_path_without_spec -%> run_javascript_spec(<%= file_path_without_spec.inspect %>, "/<%= view %>.html.erb") do # Example code to prepare for a template to be rendered # # @current_user = User.make # template.stub!(:current_user).and_return(@current_user) # assigns[:current_user] = @current_user end
Version data entries
3 entries across 3 versions & 1 rubygems