spec/models/account_spec.rb in bookingsync-engine-0.1.1 vs spec/models/account_spec.rb in bookingsync-engine-0.1.2
- old
+ new
@@ -1,7 +1,7 @@
require 'spec_helper'
-describe Account do
+RSpec.describe Account, type: :model do
describe ".from_omniauth" do
let(:auth) { OmniAuth.config.mock_auth[:bookingsync] }
context "when account exists" do
let!(:account) { Account.create!(provider: "bookingsync", uid: 123) }