Sha256: e65080f16dfbdfd4d2704caea46e00abc71941a75bf6b7bc4f808e88cb8cdd7c

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

require 'test_helper.rb'

class SongCreateTest < MiniTest::Spec

  let(:result) { Song::Create.({ title: 'Song Title' }, "current_user" => 'user_name' ) }

  it { result.success? }
  it { result['model'].title == 'Song Title' }
  it { result['model'].user_name == 'user_name' }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trailblazer-future-2.1.0.rc1 test/rails5.0/test/concepts/song/operation/create_test.rb