Sha256: 1a06b41dbadc79b8052844fcc544848ab108a40cb7035a394f49e29698163df6
Contents?: true
Size: 663 Bytes
Versions: 11
Compression:
Stored size: 663 Bytes
Contents
require "spec_helper" module SocialNetworking RSpec.describe "social_networking/goals/tool.html.erb", type: :view do describe "Viewing ACHIEVE tool" do before do allow(view) .to receive(:current_participant) .and_return( instance_double( Participant, id: 1, active_membership_end_date: Date.new)) allow(view) .to receive(:goals) end it "gives detailed description of how to use the goal" do render expect(rendered) .to match "The ACHIEVE tool helps you set goals." end end end end
Version data entries
11 entries across 11 versions & 1 rubygems