spec/tokens_spec.rb in tokens-0.2.0.beta.3 vs spec/tokens_spec.rb in tokens-0.2.0
- old
+ new
@@ -1,15 +1,15 @@
require "spec_helper"
class User < ActiveRecord::Base
- has_tokens
+ tokenizable
end
class Post < ActiveRecord::Base
- has_tokens
+ tokenizable
end
-describe "has_tokens" do
+describe Tokens do
before do
User.delete_all
Post.delete_all
@user = User.create(:name => "Homer")