Sha256: ea9dcf6c50f125706cc417f61792960a271b80965d7c496335ba8eb19839fc30
Contents?: true
Size: 692 Bytes
Versions: 36
Compression:
Stored size: 692 Bytes
Contents
require 'spec_helper' def struct(obj_in) OpenStruct.new(obj_in) end describe WoopleTheme::AnswerPresenter do obj = { index: nil, text: nil } subject { WoopleTheme::AnswerPresenter.new(struct(obj)) } describe "#correct_badge" do it "renders nothing" do subject.correct_badge.should be_nil end end describe "#incorrect_badge" do it "renders nothing" do subject.incorrect_badge.should be_nil end end describe "#radio_disabled" do it "renders nothing" do subject.radio_disabled.should be_nil end end describe "#radio_checked" do it "renders nothing" do subject.radio_checked.should be_nil end end end
Version data entries
36 entries across 36 versions & 1 rubygems