Sha256: 7ee592cc916eb9f93a3280ea20d05322137767d7441732f4736d15ec8300157e
Contents?: true
Size: 402 Bytes
Versions: 29
Compression:
Stored size: 402 Bytes
Contents
require File.join(File.dirname(__FILE__),'spec_helper') describe "ApiToken" do it_behaves_like "SharedRhoconnectHelper", :rhoconnect_data => true do it "should generate api token with user" do token = ApiToken.create(:user_id => @u.id) token.value.length.should == 32 token.user_id.should == @u.id token.user.login.should == @u.login token.delete end end end
Version data entries
29 entries across 29 versions & 1 rubygems