lib/lotus/generators/action/action_spec.minitest.tt in lotusrb-0.3.2 vs lib/lotus/generators/action/action_spec.minitest.tt in lotusrb-0.4.0
- old
+ new
@@ -1,6 +1,6 @@
require 'spec_helper'
-require_relative '../../../../<%= config[:action_path] %>'
+require_relative '<%= config[:relative_action_path] %>'
describe <%= config[:app] %>::Controllers::<%= config[:controller] %>::<%= config[:action] %> do
let(:action) { <%= config[:app] %>::Controllers::<%= config[:controller] %>::<%= config[:action] %>.new }
let(:params) { Hash[] }