lib/generators/rspec/templates/cell_spec.erb in rspec-cells-0.1.11 vs lib/generators/rspec/templates/cell_spec.erb in rspec-cells-0.1.12
- old
+ new
@@ -1,16 +1,8 @@
require 'spec_helper'
describe <%= class_name %>Cell do
- context "cell instance" do
- subject { cell(<%= cell_name %>) }
-
- <%- for state in actions -%>
- it { should respond_to(:<%= state %>) }
- <%- end -%>
- end
-
context "cell rendering" do
<%- actions.each_with_index do |state, index| -%>
context "rendering <%= state %>" do
subject { render_cell(<%= cell_name %>, :<%= state %>) }