Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: rspec/rspec-rails
...
head fork: ogawaso/rspec-rails
Checking mergeability… Don't worry, you can still create the pull request.
  • 5 commits
  • 6 files changed
  • 0 commit comments
  • 1 contributor
View
2  lib/generators/rspec/controller/templates/controller_spec.rb
@@ -1,6 +1,8 @@
+# coding: utf-8
require 'spec_helper'
describe <%= class_name %>Controller do
+ render_views
<% for action in actions -%>
describe "GET '<%= action %>'" do
View
2  lib/generators/rspec/controller/templates/view_spec.rb
@@ -1,5 +1,5 @@
require 'spec_helper'
describe "<%= file_name %>/<%= @action %>.html.<%= options[:template_engine] %>" do
- pending "add some examples to (or delete) #{__FILE__}"
+# pending "add some examples to (or delete) #{__FILE__}"
end
View
3  lib/generators/rspec/helper/templates/helper_spec.rb
@@ -1,3 +1,4 @@
+# coding: utf-8
require 'spec_helper'
# Specs in this file have access to a helper object that includes
@@ -11,5 +12,5 @@
# end
# end
describe <%= class_name %>Helper do
- pending "add some examples to (or delete) #{__FILE__}"
+# pending "add some examples to (or delete) #{__FILE__}"
end
View
2  lib/generators/rspec/integration/templates/request_spec.rb
@@ -1,3 +1,5 @@
+# coding: utf-8
+
require 'spec_helper'
describe "<%= class_name.pluralize %>" do
View
1  lib/generators/rspec/model/templates/model_spec.rb
@@ -1,3 +1,4 @@
+# coding: utf-8
require 'spec_helper'
describe <%= class_name %> do
View
3  lib/generators/rspec/view/templates/view_spec.rb
@@ -1,5 +1,6 @@
+# coding: utf-8
require 'spec_helper'
describe "<%= file_path %>/<%= @action %>" do
- pending "add some examples to (or delete) #{__FILE__}"
+# pending "add some examples to (or delete) #{__FILE__}"
end

No commit comments for this range

Something went wrong with that request. Please try again.