fix rspec
fixed end
fixed index page, gif in rats, config issue