On Fri, Jun 7, 2013 at 5:02 AM, Oliver Jesus wrote:
> Hello, I am new to RSpec and I've got error something like this:
> You have a nil object when you didn't expect it!
> You might have expected an instance of Array.
> The error occurred while evaluating nil.collect
>
> In my controller:
>
> def
Hello, I am new to RSpec and I've got error something like this:
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.collect
In my controller:
def new
@employee_mst = EmployeeMst.new
@branch_mst = Br