spec/models/hatchy/reward_spec.rb in hatchy-0.0.6.pre vs spec/models/hatchy/reward_spec.rb in hatchy-0.0.7.pre

- old
+ new

@@ -1,7 +1,10 @@ require 'rails_helper' - module Hatchy RSpec.describe Reward, type: :model do - pending "add some examples to (or delete) #{__FILE__}" + let(:reward){create(:hatchy_reward)} + describe "associations" do + it{ is_expected.to have_many :contributions} + it{ is_expected.to belong_to :project} + end end end