Sha256: 5b937874d304500c422d08375afdfaf0e3cde7c8e025dad4e0ea4f5077614057
Contents?: true
Size: 413 Bytes
Versions: 66
Compression:
Stored size: 413 Bytes
Contents
require 'spec_helper' module Spree describe LegacyUser do let(:user) { LegacyUser.new } it "can generate an API key" do user.should_receive(:save!) user.generate_spree_api_key! user.spree_api_key.should_not be_blank end it "can clear an API key" do user.should_receive(:save!) user.clear_spree_api_key! user.spree_api_key.should be_blank end end end
Version data entries
66 entries across 66 versions & 2 rubygems