Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

Code Coverage with SimpleCov and RailsBytes Discussion

0
General

Hi - Simplecov shows that three lines are missing. I don't know what wrong with it. Please have a look at once and let me know your thoughts. sorry - can't add an attachment.

require 'test_helper'
1class GifTest < ActiveSupport::TestCase
1 test "gif_must_be_assigned_to_user" do
gif = Gif.new(name: "Family")
gif.valid?
refute_empty gif.errors[:user]
end
end

Join the discussion
Create an account Log in