test/unit/sash_finder_test.rb in merit-2.1.2 vs test/unit/sash_finder_test.rb in merit-2.2.0
- old
+ new
@@ -1,14 +1,14 @@
require 'test_helper'
describe Merit::SashFinder do
it 'should return an array of sashes of the target objects' do
sash_1 = Merit::Sash.new
- user_1 = User.new
+ user_1 = Player.new
user_1.stubs(:_sash).returns(sash_1)
sash_2 = Merit::Sash.new
- user_2 = User.new
+ user_2 = Player.new
user_2.stubs(:_sash).returns(sash_2)
# TODO: With stub we are not exercising compact
# object_without_sash = OpenStruct.new
# users = [user_1, user_2, object_without_sash]