spec/spec_helper.rb in token_attr-0.1.0 vs spec/spec_helper.rb in token_attr-0.2.0

- old
+ new

@@ -18,8 +18,14 @@ self.verbose = false create_table :models, force: true do |t| t.string :token t.string :private_token + t.integer :scope_id end +end + +class BaseModel < ActiveRecord::Base + self.table_name = 'models' + include TokenAttr::Concern end