Sha256: b4052c9946a6cf192088481cd14a2d229d6114c462622e47ec959074520b4744
Contents?: true
Size: 465 Bytes
Versions: 7
Compression:
Stored size: 465 Bytes
Contents
require 'spec_helper' module Refinery module Admin describe CoreController do login_refinery_user it "updates the plugin positions" do plugins = refinery_user.plugins.reverse.collect(&: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 end
Version data entries
7 entries across 7 versions & 1 rubygems