lib/facemock/config.rb in facemock-0.0.5 vs lib/facemock/config.rb in facemock-0.0.6

- old
+ new

@@ -36,10 +36,10 @@ raise Facemock::Errors::IncorrectDataFormat.new "app id is empty" unless validate_id(app_id) raise Facemock::Errors::IncorrectDataFormat.new "app secret is empty" unless validate_secret(app_secret) raise Facemock::Errors::IncorrectDataFormat.new "users format is incorrect" unless validate_users(users) # Create application and user record - self.database if @db + Facemock::Database::Application.new({ id: app_id, secret: app_secret }).save! app = Facemock::FbGraph::Application.new(app_id, secret: app_secret) users.each do |options| app.test_user!(options) end end