require 'minitest/spec'
require 'minitest/autorun'
require_relative '../../app/controllers/home'

describe Home do

  describe 'Show Action' do

    before do
      @action = Home::Show.new
    end

    it 'should return the message passed to it via params' do
      params = { message: 'Ben' }
      @action.call(params)

      @action.message.must_equal 'Ben'
    end
  end
end

require 'minitest/spec'
require 'minitest/autorun'
require_relative '../../app/controllers/home'

describe Home do

  describe 'Index Action' do

    before do
      @action = Home::Index.new
    end

    it 'should return the message passed to it via params' do
      params = { message: 'Ben' }
      @action.call(params)

      @action.message.must_equal 'Ben'
    end
  end
end

--- 
+++ 
@@ -4,10 +4,10 @@
 
 describe Home do
 
-  describe 'Index Action' do
+  describe 'Show Action' do
 
     before do
-      @action = Home::Index.new
+      @action = Home::Show.new
     end
 
     it 'should return the message passed to it via params' do
Fix home spec test by updating action name
