@taniapinheiro Alrighty - as I said earlier: This problem is MY fault.
Remember when we had the failing tests yesterday in the evening? I changed something in that line - and this is what I changed:
``should`` to ``should_not

Looking at the code, that was my misunderstanding of the code and the spec.

What this thing does:

It checks, if inside the Controller a property called ``rule`` is assigned to ``Rule.new()``. My guess yesterday was, that when you hand over invalid params it doesn't create a new rule. Which is wrong! Why?

Looking at https://github.com/centralway/sourceradar/blob/development/app/controllers/rules_controller.rb#L43 you'll see that it **always** does this assignment - because the validation is done later (https://github.com/centralway/sourceradar/blob/development/app/controllers/rules_controller.rb#L46).

So while creating with invalid params will not save the rule to the database, it however does create it (to validate it afterwards).

That's why it has to be ``should`` instead of ``should_not``.