Sha256: 9714a40d0c760f403973b9a32624ecf2c9d2028130f2a33d735d5fa250daf346

Contents?: true

Size: 267 Bytes

Versions: 2

Compression:

Stored size: 267 Bytes

Contents

require 'test_helper'

class RemoteTokenTest < ActiveSupport::TestCase
  test "should create" do
    remote_token = RemoteToken.create(:user => users(:julien))
    assert remote_token.persisted?, remote_token.errors.to_xml
    refute_nil remote_token.token
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
janus-0.10.1 test/unit/remote_token_test.rb
janus-0.10.0 test/unit/remote_token_test.rb