rewriting rspec for method_category, replacing should with expect