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

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

Fix home spec test by updating action name
Fix home spec test by updating action name
