ActiveFedora >= v7.0

defined? returns the String "constant" when it's 'true', and I think that
will fail that check.


On Thu, Jul 10, 2014 at 8:38 PM, Justin Coyne <notifications@github.com>
wrote:

> In spec/unit/relsint_spec.rb:
>
> > @@ -13,63 +13,65 @@ class Foo < ActiveFedora::Base
> >
> >    describe "modules" do
> >      it "should exist" do
> > -      (defined? ActiveFedora::RelsInt).should be_true
> > -      (defined? ActiveFedora::RelsInt::Datastream).should be_true
> > +      expect(defined? ActiveFedora::RelsInt).to be_truthy
>
> you should update this to be:
>
> expect(defined? ActiveFedora::RelsInt).to be true
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/projecthydra-labs/active_fedora_relsint/pull/3/files#r14801797>
> .
>