Sha256: a8648d781dae1e0e9fc8df01bf073682c67cfcd2b87d50391fe92521c50ba999
Contents?: true
Size: 264 Bytes
Versions: 1
Compression:
Stored size: 264 Bytes
Contents
require 'test_helper' class ViewTest < ActionDispatch::IntegrationTest test 'handler' do users = %w(mario juan).map do |name| User.create(name: name).slice :name end get '/users.json' assert_equal users.to_json, response.body end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tuning-4.0.1.2 | test/view_test.rb |