Revision abd8f1d1
Added by Daniel Lobato Garcia over 9 years ago
test/functional/api/v1/images_controller_test.rb | ||
---|---|---|
require 'test_helper'
|
||
|
||
class Api::V1::ImagesControllerTest < ActionController::TestCase
|
||
|
||
def valid_attrs
|
||
{ :name => 'TestImage', :username => 'ec2-user', :uuid => 'abcdef',
|
||
:operatingsystem_id => Operatingsystem.first.id,
|
||
... | ... | |
end
|
||
assert_response :success
|
||
end
|
||
|
||
end
|
Also available in: Unified diff
Refs #3809 - Remove cops for empty lines