Skip to content

undefined method `its' for .. #876

@ghost

Description

Hello, just installed 'rspec-rails', '~> 3.0.0.beta' on my new Rails 4.0.2 project and I am getting undefined method its when I am trying something like

let(:user) { .... }
subject { user }

context '.....' do
  before {
    user.something = 'anything'
  }
  its(:valid?) { should be_true }
end

Did you guys renamed this method? Is it a bug?

It does work nicely when I use standard it block. But it's for 👶. I would like to use the its block again.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions