This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'spec_helper' | |
| describe User do | |
| let(:user) { FactoryGirl.build(:user) } | |
| let(:authentication) { FactoryGirl.build(:authentication) } | |
| describe "#create" do | |
| it "enqueues welcome email" do | |
| Sidekiq::Extensions::DelayedMailer.jobs.should be_empty | |
| user.save |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class City | |
| include Mongoid::Document | |
| include Mongoid::Timestamps | |
| include Geocoder::Model::Mongoid | |
| field :name, type: String | |
| field :hotel_id, type: String | |
| field :description, type: String | |
| field :user_email, type: String | |
| field :min_price, type: String |
NewerOlder