Add jasmine gem to Gemfile. Create javascripts subdirectory within the spec directory. Create map_spec.js file with one test for duplicating objects.