Ah yeah, you are right, sorry, I will add them tonight.
On Wed, Oct 9, 2013 at 12:26 PM, Tim Williams <[email protected]> wrote: > Thanks Chris, it looks like you're missing license headers on the new > stuff. > > Thanks, > --tim > > On Tue, Oct 8, 2013 at 1:59 PM, <[email protected]> wrote: > > Updated Branches: > > refs/heads/blur-console-v2 [created] c6e64403a > > > > > > > http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/688e9d08/contrib/blur-console/blur-admin/vendor/gems/cancan/spec/cancan/matchers_spec.rb > > ---------------------------------------------------------------------- > > diff --git > a/contrib/blur-console/blur-admin/vendor/gems/cancan/spec/cancan/matchers_spec.rb > b/contrib/blur-console/blur-admin/vendor/gems/cancan/spec/cancan/matchers_spec.rb > > deleted file mode 100755 > > index 9e4eefe..0000000 > > --- > a/contrib/blur-console/blur-admin/vendor/gems/cancan/spec/cancan/matchers_spec.rb > > +++ /dev/null > > @@ -1,33 +0,0 @@ > > -require "spec_helper" > > - > > -describe "be_able_to" do > > - it "delegates to can?" do > > - object = Object.new > > - object.should_receive(:can?).with(:read, 123) { true } > > - object.should be_able_to(:read, 123) > > - end > > - > > - it "reports a nice failure message for should" do > > - object = Object.new > > - object.should_receive(:can?).with(:read, 123) { false } > > - expect do > > - object.should be_able_to(:read, 123) > > - end.should raise_error('expected to be able to :read 123') > > - end > > - > > - it "reports a nice failure message for should not" do > > - object = Object.new > > - object.should_receive(:can?).with(:read, 123) { true } > > - expect do > > - object.should_not be_able_to(:read, 123) > > - end.should raise_error('expected not to be able to :read 123') > > - end > > - > > - it "delegates additional arguments to can? and reports in failure > message" do > > - object = Object.new > > - object.should_receive(:can?).with(:read, 123, 456) { false } > > - expect do > > - object.should be_able_to(:read, 123, 456) > > - end.should raise_error('expected to be able to :read 123 456') > > - end > > -end > > >
