Voting

Implementation of the Voting and Rating system.
Alright

Sergio Maziano
smarttechys.co.ao
Cell: +244 992216904



> On Sep 30, 2014, at 10:45 AM, Eliot Sykes <notifications@github.com> wrote:
> 
> In spec/models/vote_spec.rb:
> 
> >        end
> >      end
> > +
> > +    describe "value validation" do
> > +      it "only allows -1 value" do
> > +        expect(@valid_value2.valid?).to eq(false)
> > +      end
> > +    end
> > +
> >    end
> >  end
> The vote_spec.rb needs a little more work. See this for reference of how to test different vote values for validity:
> 
> https://github.com/Bloc/bloccit-with-tdd/blob/003393ddc31a6f781bc8978b95f9411ef156cfad/spec/models/vote_spec.rb <https://github.com/Bloc/bloccit-with-tdd/blob/003393ddc31a6f781bc8978b95f9411ef156cfad/spec/models/vote_spec.rb>
> —
> Reply to this email directly or view it on GitHub <https://github.com/smaziano/bloccit/pull/4/files#r18207680>.
>