Sha256: e108d5aec47d8c5408e5aaee8441a33b01fab6b9e81af1659e83e4f096917244
Contents?: true
Size: 441 Bytes
Versions: 10
Compression:
Stored size: 441 Bytes
Contents
require 'spec_helper' module Admin describe RefineryCoreController do login_refinery_user it "should update the plugin positions" do plugins = @refinery_user.plugins.reverse.collect {|p| p.name} post 'update_plugin_positions', :menu => plugins @refinery_user.plugins.reload @refinery_user.plugins.each_with_index do |plugin, idx| plugin.name.should eql(plugins[idx]) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems