Sha256: b03f0219d9da708bc2918d87a2ae0518c4bd8f5405ac8a687004f4c752292aab

Contents?: true

Size: 271 Bytes

Versions: 5

Compression:

Stored size: 271 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
    assert_not_nil remote_token.token
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
janus-0.9.1 test/unit/remote_token_test.rb
janus-0.9.0 test/unit/remote_token_test.rb
janus-0.8.1 test/unit/remote_token_test.rb
janus-0.8.0 test/unit/remote_token_test.rb
janus-0.5.0 test/unit/remote_token_test.rb